package com.lifetime.service;

import com.drew.imaging.ImageProcessingException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface PicService {
    int deletePic(int id);
    int moveObject(int picId,String TypeId,int user_id);
    List<Map<String, Object>> getAllPic(int userId);
    List<Map<Integer, String>> getOtherObject(int userId);
    List<Map<Integer, String>> getOneObject(String index,int user_id);
    int InstallDescription(Map<String, String> map,int user_id) throws ParseException;
    void setOnePic(MultipartFile file, HttpServletRequest request) throws ImageProcessingException, IOException, ParseException;
}
